﻿using OpenMir2.Common;

namespace SystemModule.Conf
{
    public class StringConf : ConfigFile
    {
        public StringConf(string fileName) : base(fileName)
        {
            Load();
        }

        public void LoadString()
        {
            SystemShare.Config.ServerIPaddr = ReadWriteString("Server", "ServerIP", SystemShare.Config.ServerIPaddr);
            SystemShare.Config.sWebSite = ReadWriteString("Server", "WebSite", SystemShare.Config.sWebSite);
            SystemShare.Config.sBbsSite = ReadWriteString("Server", "BbsSite", SystemShare.Config.sBbsSite);
            SystemShare.Config.sClientDownload = ReadWriteString("Server", "ClientDownload", SystemShare.Config.sClientDownload);
            SystemShare.Config.sQQ = ReadWriteString("Server", "QQ", SystemShare.Config.sQQ);
            SystemShare.Config.sPhone = ReadWriteString("Server", "Phone", SystemShare.Config.sPhone);
            SystemShare.Config.sBankAccount0 = ReadWriteString("Server", "BankAccount0", SystemShare.Config.sBankAccount0);
            SystemShare.Config.sBankAccount1 = ReadWriteString("Server", "BankAccount1", SystemShare.Config.sBankAccount1);
            SystemShare.Config.sBankAccount2 = ReadWriteString("Server", "BankAccount2", SystemShare.Config.sBankAccount2);
            SystemShare.Config.sBankAccount3 = ReadWriteString("Server", "BankAccount3", SystemShare.Config.sBankAccount3);
            SystemShare.Config.sBankAccount4 = ReadWriteString("Server", "BankAccount4", SystemShare.Config.sBankAccount4);
            SystemShare.Config.sBankAccount5 = ReadWriteString("Server", "BankAccount5", SystemShare.Config.sBankAccount5);
            SystemShare.Config.sBankAccount6 = ReadWriteString("Server", "BankAccount6", SystemShare.Config.sBankAccount6);
            SystemShare.Config.sBankAccount7 = ReadWriteString("Server", "BankAccount7", SystemShare.Config.sBankAccount7);
            SystemShare.Config.sBankAccount8 = ReadWriteString("Server", "BankAccount8", SystemShare.Config.sBankAccount8);
            SystemShare.Config.sBankAccount9 = ReadWriteString("Server", "BankAccount9", SystemShare.Config.sBankAccount9);
            SystemShare.Config.GuildNotice = ReadWriteString("Guild", "GuildNotice", SystemShare.Config.GuildNotice);
            SystemShare.Config.GuildWar = ReadWriteString("Guild", "GuildWar", SystemShare.Config.GuildWar);
            SystemShare.Config.GuildAll = ReadWriteString("Guild", "GuildAll", SystemShare.Config.GuildAll);
            SystemShare.Config.GuildMember = ReadWriteString("Guild", "GuildMember", SystemShare.Config.GuildMember);
            SystemShare.Config.GuildMemberRank = ReadWriteString("Guild", "GuildMemberRank", SystemShare.Config.GuildMemberRank);
            SystemShare.Config.GuildChief = ReadWriteString("Guild", "GuildChief", SystemShare.Config.GuildChief);
            SystemShare.Config.LineNoticePreFix = ReadWriteString("String", "LineNoticePreFix", SystemShare.Config.LineNoticePreFix);
            SystemShare.Config.SysMsgPreFix = ReadWriteString("String", "SysMsgPreFix", SystemShare.Config.SysMsgPreFix);
            SystemShare.Config.GuildMsgPreFix = ReadWriteString("String", "GuildMsgPreFix", SystemShare.Config.GuildMsgPreFix);
            SystemShare.Config.GroupMsgPreFix = ReadWriteString("String", "GroupMsgPreFix", SystemShare.Config.GroupMsgPreFix);
            SystemShare.Config.HintMsgPreFix = ReadWriteString("String", "HintMsgPreFix", SystemShare.Config.HintMsgPreFix);
            SystemShare.Config.GameManagerRedMsgPreFix = ReadWriteString("String", "GMRedMsgpreFix", SystemShare.Config.GameManagerRedMsgPreFix);
            SystemShare.Config.MonSayMsgPreFix = ReadWriteString("String", "MonSayMsgpreFix", SystemShare.Config.MonSayMsgPreFix);
            SystemShare.Config.CustMsgPreFix = ReadWriteString("String", "CustMsgpreFix", SystemShare.Config.CustMsgPreFix);
            SystemShare.Config.CastleMsgPreFix = ReadWriteString("String", "CastleMsgpreFix", SystemShare.Config.CastleMsgPreFix);

            MessageSettings.ClientSoftVersionError = ReadWriteString("String", "ClientSoftVersionError", MessageSettings.ClientSoftVersionError);
            MessageSettings.DownLoadNewClientSoft = ReadWriteString("String", "DownLoadNewClientSoft", MessageSettings.DownLoadNewClientSoft);
            MessageSettings.ForceDisConnect = ReadWriteString("String", "ForceDisConnect", MessageSettings.ForceDisConnect);
            MessageSettings.ClientSoftVersionTooOld = ReadWriteString("String", "ClientSoftVersionTooOld", MessageSettings.ClientSoftVersionTooOld);
            MessageSettings.DownLoadAndUseNewClient = ReadWriteString("String", "DownLoadAndUseNewClient", MessageSettings.DownLoadAndUseNewClient);
            MessageSettings.OnlineUserFull = ReadWriteString("String", "OnlineUserFull", MessageSettings.OnlineUserFull);
            MessageSettings.YouNowIsTryPlayMode = ReadWriteString("String", "YouNowIsTryPlayMode", MessageSettings.YouNowIsTryPlayMode);
            MessageSettings.NowIsFreePlayMode = ReadWriteString("String", "NowIsFreePlayMode", MessageSettings.NowIsFreePlayMode);
            MessageSettings.AttackModeOfAll = ReadWriteString("String", "AttackModeOfAll", MessageSettings.AttackModeOfAll);
            MessageSettings.AttackModeOfPeaceful = ReadWriteString("String", "AttackModeOfPeaceful", MessageSettings.AttackModeOfPeaceful);
            MessageSettings.AttackModeOfGroup = ReadWriteString("String", "AttackModeOfGroup", MessageSettings.AttackModeOfGroup);
            MessageSettings.AttackModeOfGuild = ReadWriteString("String", "AttackModeOfGuild", MessageSettings.AttackModeOfGuild);
            MessageSettings.AttackModeOfRedWhite = ReadWriteString("String", "AttackModeOfRedWhite", MessageSettings.AttackModeOfRedWhite);
            MessageSettings.AttackModeOfMaster = ReadWriteString("String", "AttackModeOfMaster", MessageSettings.AttackModeOfMaster);
            MessageSettings.StartChangeAttackModeHelp = ReadWriteString("String", "StartChangeAttackModeHelp", MessageSettings.StartChangeAttackModeHelp);
            MessageSettings.StartNoticeMsg = ReadWriteString("String", "StartNoticeMsg", MessageSettings.StartNoticeMsg);
            MessageSettings.ThrustingOn = ReadWriteString("String", "ThrustingOn", MessageSettings.ThrustingOn);
            MessageSettings.ThrustingOff = ReadWriteString("String", "ThrustingOff", MessageSettings.ThrustingOff);
            MessageSettings.HalfMoonOn = ReadWriteString("String", "HalfMoonOn", MessageSettings.HalfMoonOn);
            MessageSettings.HalfMoonOff = ReadWriteString("String", "HalfMoonOff", MessageSettings.HalfMoonOff);
            MessageSettings.CrsHitOn = ReadWriteString("String", "CrsHitOn", MessageSettings.CrsHitOn);
            MessageSettings.CrsHitOff = ReadWriteString("String", "CrsHitOff", MessageSettings.CrsHitOff);
            MessageSettings.TwinHitOn = ReadWriteString("String", "TwinHitOn", MessageSettings.TwinHitOn);
            MessageSettings.TwinHitOff = ReadWriteString("String", "TwinHitOff", MessageSettings.TwinHitOff);
            MessageSettings.FireSpiritsSummoned = ReadWriteString("String", "FireSpiritsSummoned", MessageSettings.FireSpiritsSummoned);
            MessageSettings.FireSpiritsFail = ReadWriteString("String", "FireSpiritsFail", MessageSettings.FireSpiritsFail);
            MessageSettings.SpiritsGone = ReadWriteString("String", "SpiritsGone", MessageSettings.SpiritsGone);
            MessageSettings.MateDoTooweak = ReadWriteString("String", "MateDoTooweak", MessageSettings.MateDoTooweak);
            MessageSettings.TheWeaponBroke = ReadWriteString("String", "TheWeaponBroke", MessageSettings.TheWeaponBroke);
            MessageSettings.TheWeaponRefineSuccessfull = ReadWriteString("String", "TheWeaponRefineSuccessfull", MessageSettings.TheWeaponRefineSuccessfull);
            MessageSettings.YouPoisoned = ReadWriteString("String", "YouPoisoned", MessageSettings.YouPoisoned);
            MessageSettings.PetRest = ReadWriteString("String", "PetRest", MessageSettings.PetRest);
            MessageSettings.PetAttack = ReadWriteString("String", "PetAttack", MessageSettings.PetAttack);
            MessageSettings.WearNotOfWoMan = ReadWriteString("String", "WearNotOfWoMan", MessageSettings.WearNotOfWoMan);
            MessageSettings.WearNotOfMan = ReadWriteString("String", "WearNotOfMan", MessageSettings.WearNotOfMan);
            MessageSettings.HandWeightNot = ReadWriteString("String", "HandWeightNot", MessageSettings.HandWeightNot);
            MessageSettings.WearWeightNot = ReadWriteString("String", "WearWeightNot", MessageSettings.WearWeightNot);
            MessageSettings.ItemIsNotThisAccount = ReadWriteString("String", "ItemIsNotThisAccount", MessageSettings.ItemIsNotThisAccount);
            MessageSettings.ItemIsNotThisIPaddr = ReadWriteString("String", "ItemIsNotThisIPaddr", MessageSettings.ItemIsNotThisIPaddr);
            MessageSettings.ItemIsNotThisChrName = ReadWriteString("String", "ItemIsNotThisChrName", MessageSettings.ItemIsNotThisChrName);
            MessageSettings.LevelNot = ReadWriteString("String", "LevelNot", MessageSettings.LevelNot);
            MessageSettings.JobOrLevelNot = ReadWriteString("String", "JobOrLevelNot", MessageSettings.JobOrLevelNot);
            MessageSettings.JobOrDCNot = ReadWriteString("String", "JobOrDCNot", MessageSettings.JobOrDCNot);
            MessageSettings.JobOrMCNot = ReadWriteString("String", "JobOrMCNot", MessageSettings.JobOrMCNot);
            MessageSettings.JobOrSCNot = ReadWriteString("String", "JobOrSCNot", MessageSettings.JobOrSCNot);
            MessageSettings.DCNot = ReadWriteString("String", "DCNot", MessageSettings.DCNot);
            MessageSettings.MCNot = ReadWriteString("String", "MCNot", MessageSettings.MCNot);
            MessageSettings.SCNot = ReadWriteString("String", "SCNot", MessageSettings.SCNot);
            MessageSettings.CreditPointNot = ReadWriteString("String", "CreditPointNot", MessageSettings.CreditPointNot);
            MessageSettings.ReNewLevelNot = ReadWriteString("String", "ReNewLevelNot", MessageSettings.ReNewLevelNot);
            MessageSettings.GuildNot = ReadWriteString("String", "GuildNot", MessageSettings.GuildNot);
            MessageSettings.GuildMasterNot = ReadWriteString("String", "GuildMasterNot", MessageSettings.GuildMasterNot);
            MessageSettings.SabukHumanNot = ReadWriteString("String", "SabukHumanNot", MessageSettings.SabukHumanNot);
            MessageSettings.SabukMasterManNot = ReadWriteString("String", "SabukMasterManNot", MessageSettings.SabukMasterManNot);
            MessageSettings.MemberNot = ReadWriteString("String", "MemberNot", MessageSettings.MemberNot);
            MessageSettings.MemberTypeNot = ReadWriteString("String", "MemberTypeNot", MessageSettings.MemberTypeNot);
            MessageSettings.CanottWearIt = ReadWriteString("String", "CanottWearIt", MessageSettings.CanottWearIt);
            MessageSettings.CanotUseDrugOnThisMap = ReadWriteString("String", "CanotUseDrugOnThisMap", MessageSettings.CanotUseDrugOnThisMap);
            MessageSettings.GameMasterMode = ReadWriteString("String", "GameMasterMode", MessageSettings.GameMasterMode);
            MessageSettings.ReleaseGameMasterMode = ReadWriteString("String", "ReleaseGameMasterMode", MessageSettings.ReleaseGameMasterMode);
            MessageSettings.ObserverMode = ReadWriteString("String", "ObserverMode", MessageSettings.ObserverMode);
            MessageSettings.ReleaseObserverMode = ReadWriteString("String", "ReleaseObserverMode", MessageSettings.ReleaseObserverMode);
            MessageSettings.SupermanMode = ReadWriteString("String", "SupermanMode", MessageSettings.SupermanMode);
            MessageSettings.ReleaseSupermanMode = ReadWriteString("String", "ReleaseSupermanMode", MessageSettings.ReleaseSupermanMode);
            MessageSettings.YouFoundNothing = ReadWriteString("String", "YouFoundNothing", MessageSettings.YouFoundNothing);
            MessageSettings.NoPasswordLockSystemMsg = ReadWriteString("String", "NoPasswordLockSystemMsg", MessageSettings.NoPasswordLockSystemMsg);
            MessageSettings.AlreadySetPasswordMsg = ReadWriteString("String", "AlreadySetPassword", MessageSettings.AlreadySetPasswordMsg);
            MessageSettings.ReSetPasswordMsg = ReadWriteString("String", "ReSetPassword", MessageSettings.ReSetPasswordMsg);
            MessageSettings.PasswordOverLongMsg = ReadWriteString("String", "PasswordOverLong", MessageSettings.PasswordOverLongMsg);
            MessageSettings.ReSetPasswordOKMsg = ReadWriteString("String", "ReSetPasswordOK", MessageSettings.ReSetPasswordOKMsg);
            MessageSettings.ReSetPasswordNotMatchMsg = ReadWriteString("String", "ReSetPasswordNotMatch", MessageSettings.ReSetPasswordNotMatchMsg);
            MessageSettings.PleaseInputUnLockPasswordMsg = ReadWriteString("String", "PleaseInputUnLockPassword", MessageSettings.PleaseInputUnLockPasswordMsg);
            MessageSettings.StorageUnLockOKMsg = ReadWriteString("String", "StorageUnLockOK", MessageSettings.StorageUnLockOKMsg);
            MessageSettings.StorageAlreadyUnLockMsg = ReadWriteString("String", "StorageAlreadyUnLock", MessageSettings.StorageAlreadyUnLockMsg);
            MessageSettings.StorageNoPasswordMsg = ReadWriteString("String", "StorageNoPassword", MessageSettings.StorageNoPasswordMsg);
            MessageSettings.UnLockPasswordFailMsg = ReadWriteString("String", "UnLockPasswordFail", MessageSettings.UnLockPasswordFailMsg);
            MessageSettings.LockStorageSuccessMsg = ReadWriteString("String", "LockStorageSuccess", MessageSettings.LockStorageSuccessMsg);
            MessageSettings.StoragePasswordClearMsg = ReadWriteString("String", "StoragePasswordClear", MessageSettings.StoragePasswordClearMsg);
            MessageSettings.PleaseUnloadStoragePasswordMsg = ReadWriteString("String", "PleaseUnloadStoragePassword", MessageSettings.PleaseUnloadStoragePasswordMsg);
            MessageSettings.StorageAlreadyLockMsg = ReadWriteString("String", "StorageAlreadyLock", MessageSettings.StorageAlreadyLockMsg);
            MessageSettings.StoragePasswordLockedMsg = ReadWriteString("String", "StoragePasswordLocked", MessageSettings.StoragePasswordLockedMsg);
            MessageSettings.SetPasswordMsg = ReadWriteString("String", "StorageSetPassword", MessageSettings.SetPasswordMsg);
            MessageSettings.PleaseInputOldPasswordMsg = ReadWriteString("String", "PleaseInputOldPassword", MessageSettings.PleaseInputOldPasswordMsg);
            MessageSettings.OldPasswordIsClearMsg = ReadWriteString("String", "PasswordIsClearMsg", MessageSettings.OldPasswordIsClearMsg);
            MessageSettings.NoPasswordSetMsg = ReadWriteString("String", "NoPasswordSet", MessageSettings.NoPasswordSetMsg);
            MessageSettings.OldPasswordIncorrectMsg = ReadWriteString("String", "OldPasswordIncorrect", MessageSettings.OldPasswordIncorrectMsg);
            MessageSettings.StorageIsLockedMsg = ReadWriteString("String", "StorageIsLocked", MessageSettings.StorageIsLockedMsg);
            MessageSettings.PleaseTryDealLaterMsg = ReadWriteString("String", "PleaseTryDealLaterMsg", MessageSettings.PleaseTryDealLaterMsg);
            MessageSettings.DealItemsDenyGetBackMsg = ReadWriteString("String", "DealItemsDenyGetBackMsg", MessageSettings.DealItemsDenyGetBackMsg);
            MessageSettings.DisableDealItemsMsg = ReadWriteString("String", "DisableDealItemsMsg", MessageSettings.DisableDealItemsMsg);
            MessageSettings.CanotTryDealMsg = ReadWriteString("String", "CanotTryDealMsg", MessageSettings.CanotTryDealMsg);
            MessageSettings.DealActionCancelMsg = ReadWriteString("String", "DealActionCancelMsg", MessageSettings.DealActionCancelMsg);
            MessageSettings.PoseDisableDealMsg = ReadWriteString("String", "PoseDisableDealMsg", MessageSettings.PoseDisableDealMsg);
            MessageSettings.DealSuccessMsg = ReadWriteString("String", "DealSuccessMsg", MessageSettings.DealSuccessMsg);
            MessageSettings.DealOKTooFast = ReadWriteString("String", "DealOKTooFast", MessageSettings.DealOKTooFast);
            MessageSettings.YourBagSizeTooSmall = ReadWriteString("String", "YourBagSizeTooSmall", MessageSettings.YourBagSizeTooSmall);
            MessageSettings.DealHumanBagSizeTooSmall = ReadWriteString("String", "DealHumanBagSizeTooSmall", MessageSettings.DealHumanBagSizeTooSmall);
            MessageSettings.YourGoldLargeThenLimit = ReadWriteString("String", "YourGoldLargeThenLimit", MessageSettings.YourGoldLargeThenLimit);
            MessageSettings.DealHumanGoldLargeThenLimit = ReadWriteString("String", "DealHumanGoldLargeThenLimit", MessageSettings.DealHumanGoldLargeThenLimit);
            MessageSettings.YouDealOKMsg = ReadWriteString("String", "YouDealOKMsg", MessageSettings.YouDealOKMsg);
            MessageSettings.PoseDealOKMsg = ReadWriteString("String", "PoseDealOKMsg", MessageSettings.PoseDealOKMsg);
            MessageSettings.KickClientUserMsg = ReadWriteString("String", "KickClientUserMsg", MessageSettings.KickClientUserMsg);
            MessageSettings.ActionIsLockedMsg = ReadWriteString("String", "ActionIsLockedMsg", MessageSettings.ActionIsLockedMsg);
            MessageSettings.PasswordNotSetMsg = ReadWriteString("String", "PasswordNotSetMsg", MessageSettings.PasswordNotSetMsg);
            MessageSettings.NotPasswordProtectMode = ReadWriteString("String", "NotPasswordProtectMode", MessageSettings.NotPasswordProtectMode);
            MessageSettings.CanotDropGoldMsg = ReadWriteString("String", "CanotDropGoldMsg", MessageSettings.CanotDropGoldMsg);
            MessageSettings.CanotDropInSafeZoneMsg = ReadWriteString("String", "CanotDropInSafeZoneMsg", MessageSettings.CanotDropInSafeZoneMsg);
            MessageSettings.CanotDropItemMsg = ReadWriteString("String", "CanotDropItemMsg", MessageSettings.CanotDropItemMsg);
            MessageSettings.CanotUseItemMsg = ReadWriteString("String", "CanotUseItemMsg", MessageSettings.CanotUseItemMsg);
            MessageSettings.StartMarryManMsg = ReadWriteString("String", "StartMarryManMsg", MessageSettings.StartMarryManMsg);
            MessageSettings.StartMarryWoManMsg = ReadWriteString("String", "StartMarryWoManMsg", MessageSettings.StartMarryWoManMsg);
            MessageSettings.StartMarryManAskQuestionMsg = ReadWriteString("String", "StartMarryManAskQuestionMsg", MessageSettings.StartMarryManAskQuestionMsg);
            MessageSettings.StartMarryWoManAskQuestionMsg = ReadWriteString("String", "StartMarryWoManAskQuestionMsg", MessageSettings.StartMarryWoManAskQuestionMsg);
            MessageSettings.MarryManAnswerQuestionMsg = ReadWriteString("String", "MarryManAnswerQuestionMsg", MessageSettings.MarryManAnswerQuestionMsg);
            MessageSettings.MarryManAskQuestionMsg = ReadWriteString("String", "MarryManAskQuestionMsg", MessageSettings.MarryManAskQuestionMsg);
            MessageSettings.MarryWoManAnswerQuestionMsg = ReadWriteString("String", "MarryWoManAnswerQuestionMsg", MessageSettings.MarryWoManAnswerQuestionMsg);
            MessageSettings.MarryWoManGetMarryMsg = ReadWriteString("String", "MarryWoManGetMarryMsg", MessageSettings.MarryWoManGetMarryMsg);
            MessageSettings.MarryWoManDenyMsg = ReadWriteString("String", "MarryWoManDenyMsg", MessageSettings.MarryWoManDenyMsg);
            MessageSettings.MarryWoManCancelMsg = ReadWriteString("String", "MarryWoManCancelMsg", MessageSettings.MarryWoManCancelMsg);
            MessageSettings.fUnMarryManLoginMsg = ReadWriteString("String", "ForceUnMarryManLoginMsg", MessageSettings.fUnMarryManLoginMsg);
            MessageSettings.fUnMarryWoManLoginMsg = ReadWriteString("String", "ForceUnMarryWoManLoginMsg", MessageSettings.fUnMarryWoManLoginMsg);
            MessageSettings.ManLoginDearOnlineSelfMsg = ReadWriteString("String", "ManLoginDearOnlineSelfMsg", MessageSettings.ManLoginDearOnlineSelfMsg);
            MessageSettings.ManLoginDearOnlineDearMsg = ReadWriteString("String", "ManLoginDearOnlineDearMsg", MessageSettings.ManLoginDearOnlineDearMsg);
            MessageSettings.WoManLoginDearOnlineSelfMsg = ReadWriteString("String", "WoManLoginDearOnlineSelfMsg", MessageSettings.WoManLoginDearOnlineSelfMsg);
            MessageSettings.WoManLoginDearOnlineDearMsg = ReadWriteString("String", "WoManLoginDearOnlineDearMsg", MessageSettings.WoManLoginDearOnlineDearMsg);
            MessageSettings.ManLoginDearNotOnlineMsg = ReadWriteString("String", "ManLoginDearNotOnlineMsg", MessageSettings.ManLoginDearNotOnlineMsg);
            MessageSettings.WoManLoginDearNotOnlineMsg = ReadWriteString("String", "WoManLoginDearNotOnlineMsg", MessageSettings.WoManLoginDearNotOnlineMsg);
            MessageSettings.ManLongOutDearOnlineMsg = ReadWriteString("String", "ManLongOutDearOnlineMsg", MessageSettings.ManLongOutDearOnlineMsg);
            MessageSettings.WoManLongOutDearOnlineMsg = ReadWriteString("String", "WoManLongOutDearOnlineMsg", MessageSettings.WoManLongOutDearOnlineMsg);
            MessageSettings.YouAreNotMarryedMsg = ReadWriteString("String", "YouAreNotMarryedMsg", MessageSettings.YouAreNotMarryedMsg);
            MessageSettings.YourWifeNotOnlineMsg = ReadWriteString("String", "YourWifeNotOnlineMsg", MessageSettings.YourWifeNotOnlineMsg);
            MessageSettings.YourHusbandNotOnlineMsg = ReadWriteString("String", "YourHusbandNotOnlineMsg", MessageSettings.YourHusbandNotOnlineMsg);
            MessageSettings.YourWifeNowLocateMsg = ReadWriteString("String", "YourWifeNowLocateMsg", MessageSettings.YourWifeNowLocateMsg);
            MessageSettings.YourHusbandSearchLocateMsg = ReadWriteString("String", "YourHusbandSearchLocateMsg", MessageSettings.YourHusbandSearchLocateMsg);
            MessageSettings.YourHusbandNowLocateMsg = ReadWriteString("String", "YourHusbandNowLocateMsg", MessageSettings.YourHusbandNowLocateMsg);
            MessageSettings.YourWifeSearchLocateMsg = ReadWriteString("String", "YourWifeSearchLocateMsg", MessageSettings.YourWifeSearchLocateMsg);
            MessageSettings.fUnMasterLoginMsg = ReadWriteString("String", "FUnMasterLoginMsg", MessageSettings.fUnMasterLoginMsg);
            MessageSettings.fUnMasterListLoginMsg = ReadWriteString("String", "UnMasterListLoginMsg", MessageSettings.fUnMasterListLoginMsg);
            MessageSettings.MasterListOnlineSelfMsg = ReadWriteString("String", "MasterListOnlineSelfMsg", MessageSettings.MasterListOnlineSelfMsg);
            MessageSettings.MasterListOnlineMasterMsg = ReadWriteString("String", "MasterListOnlineMasterMsg", MessageSettings.MasterListOnlineMasterMsg);
            MessageSettings.MasterOnlineSelfMsg = ReadWriteString("String", "MasterOnlineSelfMsg", MessageSettings.MasterOnlineSelfMsg);
            MessageSettings.MasterOnlineMasterListMsg = ReadWriteString("String", "MasterOnlineMasterListMsg", MessageSettings.MasterOnlineMasterListMsg);
            MessageSettings.MasterLongOutMasterListOnlineMsg = ReadWriteString("String", "MasterLongOutMasterListOnlineMsg", MessageSettings.MasterLongOutMasterListOnlineMsg);
            MessageSettings.MasterListLongOutMasterOnlineMsg = ReadWriteString("String", "MasterListLongOutMasterOnlineMsg", MessageSettings.MasterListLongOutMasterOnlineMsg);
            MessageSettings.MasterListNotOnlineMsg = ReadWriteString("String", "MasterListNotOnlineMsg", MessageSettings.MasterListNotOnlineMsg);
            MessageSettings.MasterNotOnlineMsg = ReadWriteString("String", "MasterNotOnlineMsg", MessageSettings.MasterNotOnlineMsg);
            MessageSettings.YouAreNotMasterMsg = ReadWriteString("String", "YouAreNotMasterMsg", MessageSettings.YouAreNotMasterMsg);
            MessageSettings.YourMasterNotOnlineMsg = ReadWriteString("String", "YourMasterNotOnlineMsg", MessageSettings.YourMasterNotOnlineMsg);
            MessageSettings.YourMasterListNotOnlineMsg = ReadWriteString("String", "YourMasterListNotOnlineMsg", MessageSettings.YourMasterListNotOnlineMsg);
            MessageSettings.YourMasterNowLocateMsg = ReadWriteString("String", "YourMasterNowLocateMsg", MessageSettings.YourMasterNowLocateMsg);
            MessageSettings.YourMasterListSearchLocateMsg = ReadWriteString("String", "YourMasterListSearchLocateMsg", MessageSettings.YourMasterListSearchLocateMsg);
            MessageSettings.YourMasterListNowLocateMsg = ReadWriteString("String", "YourMasterListNowLocateMsg", MessageSettings.YourMasterListNowLocateMsg);
            MessageSettings.YourMasterSearchLocateMsg = ReadWriteString("String", "YourMasterSearchLocateMsg", MessageSettings.YourMasterSearchLocateMsg);
            MessageSettings.YourMasterListUnMasterOKMsg = ReadWriteString("String", "YourMasterListUnMasterOKMsg", MessageSettings.YourMasterListUnMasterOKMsg);
            MessageSettings.YouAreUnMasterOKMsg = ReadWriteString("String", "YouAreUnMasterOKMsg", MessageSettings.YouAreUnMasterOKMsg);
            MessageSettings.UnMasterLoginMsg = ReadWriteString("String", "UnMasterLoginMsg", MessageSettings.UnMasterLoginMsg);
            MessageSettings.NPCSayUnMasterOKMsg = ReadWriteString("String", "NPCSayUnMasterOKMsg", MessageSettings.NPCSayUnMasterOKMsg);
            MessageSettings.NPCSayForceUnMasterMsg = ReadWriteString("String", "NPCSayForceUnMasterMsg", MessageSettings.NPCSayForceUnMasterMsg);
            MessageSettings.MyInfo = ReadWriteString("String", "MyInfo", MessageSettings.MyInfo);
            MessageSettings.OpenedDealMsg = ReadWriteString("String", "OpenedDealMsg", MessageSettings.OpenedDealMsg);
            MessageSettings.SendCustMsgCanNotUseNowMsg = ReadWriteString("String", "SendCustMsgCanNotUseNowMsg", MessageSettings.SendCustMsgCanNotUseNowMsg);
            MessageSettings.SubkMasterMsgCanNotUseNowMsg = ReadWriteString("String", "SubkMasterMsgCanNotUseNowMsg", MessageSettings.SubkMasterMsgCanNotUseNowMsg);
            MessageSettings.SendOnlineCountMsg = ReadWriteString("String", "SendOnlineCountMsg", MessageSettings.SendOnlineCountMsg);
            MessageSettings.WeaponRepairSuccess = ReadWriteString("String", "WeaponRepairSuccess", MessageSettings.WeaponRepairSuccess);
            MessageSettings.DefenceUpTime = ReadWriteString("String", "DefenceUpTime", MessageSettings.DefenceUpTime);
            MessageSettings.MagDefenceUpTime = ReadWriteString("String", "MagDefenceUpTime", MessageSettings.MagDefenceUpTime);
            MessageSettings.WinLottery1Msg = ReadWriteString("String", "WinLottery1Msg", MessageSettings.WinLottery1Msg);
            MessageSettings.WinLottery2Msg = ReadWriteString("String", "WinLottery2Msg", MessageSettings.WinLottery2Msg);
            MessageSettings.WinLottery3Msg = ReadWriteString("String", "WinLottery3Msg", MessageSettings.WinLottery3Msg);
            MessageSettings.WinLottery4Msg = ReadWriteString("String", "WinLottery4Msg", MessageSettings.WinLottery4Msg);
            MessageSettings.WinLottery5Msg = ReadWriteString("String", "WinLottery5Msg", MessageSettings.WinLottery5Msg);
            MessageSettings.WinLottery6Msg = ReadWriteString("String", "WinLottery6Msg", MessageSettings.WinLottery6Msg);
            MessageSettings.NotWinLotteryMsg = ReadWriteString("String", "NotWinLotteryMsg", MessageSettings.NotWinLotteryMsg);
            MessageSettings.WeaptonMakeLuck = ReadWriteString("String", "WeaptonMakeLuck", MessageSettings.WeaptonMakeLuck);
            MessageSettings.WeaptonNotMakeLuck = ReadWriteString("String", "WeaptonNotMakeLuck", MessageSettings.WeaptonNotMakeLuck);
            MessageSettings.TheWeaponIsCursed = ReadWriteString("String", "TheWeaponIsCursed", MessageSettings.TheWeaponIsCursed);
            MessageSettings.CanotTakeOffItem = ReadWriteString("String", "CanotTakeOffItem", MessageSettings.CanotTakeOffItem);
            MessageSettings.JoinGroup = ReadWriteString("String", "JoinGroupMsg", MessageSettings.JoinGroup);
            MessageSettings.TryModeCanotUseStorage = ReadWriteString("String", "TryModeCanotUseStorage", MessageSettings.TryModeCanotUseStorage);
            MessageSettings.CanotGetItems = ReadWriteString("String", "CanotGetItemsMsg", MessageSettings.CanotGetItems);
            MessageSettings.YourIPaddrDenyLogon = ReadWriteString("String", "YourIPaddrDenyLogon", MessageSettings.YourIPaddrDenyLogon);
            MessageSettings.YourAccountDenyLogon = ReadWriteString("String", "YourAccountDenyLogon", MessageSettings.YourAccountDenyLogon);
            MessageSettings.YourChrNameDenyLogon = ReadWriteString("String", "YourChrNameDenyLogon", MessageSettings.YourChrNameDenyLogon);
            MessageSettings.CanotPickUpItem = ReadWriteString("String", "CanotPickUpItem", MessageSettings.CanotPickUpItem);
            MessageSettings.QUERYBAGITEMS = ReadWriteString("String", "sQUERYBAGITEMS", MessageSettings.QUERYBAGITEMS);
            MessageSettings.CanotSendmsg = ReadWriteString("String", "CanotSendmsg", MessageSettings.CanotSendmsg);
            MessageSettings.UserDenyWhisperMsg = ReadWriteString("String", "UserDenyWhisperMsg", MessageSettings.UserDenyWhisperMsg);
            MessageSettings.UserNotOnLine = ReadWriteString("String", "UserNotOnLine", MessageSettings.UserNotOnLine);
            MessageSettings.RevivalRecoverMsg = ReadWriteString("String", "RevivalRecoverMsg", MessageSettings.RevivalRecoverMsg);
            MessageSettings.ClientVersionTooOld = ReadWriteString("String", "ClientVersionTooOld", MessageSettings.ClientVersionTooOld);
            MessageSettings.CastleGuildName = ReadWriteString("String", "CastleGuildName", MessageSettings.CastleGuildName);
            MessageSettings.NoCastleGuildName = ReadWriteString("String", "NoCastleGuildName", MessageSettings.NoCastleGuildName);
            MessageSettings.WarrReNewName = ReadWriteString("String", "WarrReNewName", MessageSettings.WarrReNewName);
            MessageSettings.WizardReNewName = ReadWriteString("String", "WizardReNewName", MessageSettings.WizardReNewName);
            MessageSettings.TaosReNewName = ReadWriteString("String", "TaosReNewName", MessageSettings.TaosReNewName);
            MessageSettings.RankLevelName = ReadWriteString("String", "RankLevelName", MessageSettings.RankLevelName);
            MessageSettings.ManDearName = ReadWriteString("String", "ManDearName", MessageSettings.ManDearName);
            MessageSettings.WoManDearName = ReadWriteString("String", "WoManDearName", MessageSettings.WoManDearName);
            MessageSettings.MasterName = ReadWriteString("String", "MasterName", MessageSettings.MasterName);
            MessageSettings.NoMasterName = ReadWriteString("String", "NoMasterName", MessageSettings.NoMasterName);
            MessageSettings.HumanShowName = ReadWriteString("String", "HumanShowName", MessageSettings.HumanShowName);
            MessageSettings.ChangePermissionMsg = ReadWriteString("String", "ChangePermissionMsg", MessageSettings.ChangePermissionMsg);
            MessageSettings.ChangeKillMonExpRateMsg = ReadWriteString("String", "ChangeKillMonExpRateMsg", MessageSettings.ChangeKillMonExpRateMsg);
            MessageSettings.ChangePowerRateMsg = ReadWriteString("String", "ChangePowerRateMsg", MessageSettings.ChangePowerRateMsg);
            MessageSettings.ChangeMemberLevelMsg = ReadWriteString("String", "ChangeMemberLevelMsg", MessageSettings.ChangeMemberLevelMsg);
            MessageSettings.ChangeMemberTypeMsg = ReadWriteString("String", "ChangeMemberTypeMsg", MessageSettings.ChangeMemberTypeMsg);
            MessageSettings.ScriptChangeHumanHPMsg = ReadWriteString("String", "ScriptChangeHumanHPMsg", MessageSettings.ScriptChangeHumanHPMsg);
            MessageSettings.ScriptChangeHumanMPMsg = ReadWriteString("String", "ScriptChangeHumanMPMsg", MessageSettings.ScriptChangeHumanMPMsg);
            MessageSettings.DisableSayMsg = ReadWriteString("String", "YouCanotDisableSayMsg", MessageSettings.DisableSayMsg);
            MessageSettings.OnlineCountMsg = ReadWriteString("String", "OnlineCountMsg", MessageSettings.OnlineCountMsg);
            MessageSettings.TotalOnlineCountMsg = ReadWriteString("String", "TotalOnlineCountMsg", MessageSettings.TotalOnlineCountMsg);
            MessageSettings.YouNeedLevelMsg = ReadWriteString("String", "YouNeedLevelSendMsg", MessageSettings.YouNeedLevelMsg);
            MessageSettings.ThisMapDisableSendCyCyMsg = ReadWriteString("String", "ThisMapDisableSendCyCyMsg", MessageSettings.ThisMapDisableSendCyCyMsg);
            MessageSettings.YouCanSendCyCyLaterMsg = ReadWriteString("String", "YouCanSendCyCyLaterMsg", MessageSettings.YouCanSendCyCyLaterMsg);
            MessageSettings.YouIsDisableSendMsg = ReadWriteString("String", "YouIsDisableSendMsg", MessageSettings.YouIsDisableSendMsg);
            MessageSettings.YouMurderedMsg = ReadWriteString("String", "YouMurderedMsg", MessageSettings.YouMurderedMsg);
            MessageSettings.YouKilledByMsg = ReadWriteString("String", "YouKilledByMsg", MessageSettings.YouKilledByMsg);
            MessageSettings.YouprotectedByLawOfDefense = ReadWriteString("String", "YouprotectedByLawOfDefense", MessageSettings.YouprotectedByLawOfDefense);

            /*CommandHelp.EnableDearRecall = ReadWriteString("String", "EnableDearRecall", CommandHelp.EnableDearRecall);
            CommandHelp.DisableDearRecall = ReadWriteString("String", "DisableDearRecall", CommandHelp.DisableDearRecall);
            CommandHelp.EnableMasterRecall = ReadWriteString("String", "EnableMasterRecall", CommandHelp.EnableMasterRecall);
            CommandHelp.DisableMasterRecall = ReadWriteString("String", "DisableMasterRecall", CommandHelp.DisableMasterRecall);
            CommandHelp.NowCurrDateTime = ReadWriteString("String", "NowCurrDateTime", CommandHelp.NowCurrDateTime);
            CommandHelp.EnableHearWhisper = ReadWriteString("String", "EnableHearWhisper", CommandHelp.EnableHearWhisper);
            CommandHelp.DisableHearWhisper = ReadWriteString("String", "DisableHearWhisper", CommandHelp.DisableHearWhisper);
            CommandHelp.EnableShoutMsg = ReadWriteString("String", "EnableShoutMsg", CommandHelp.EnableShoutMsg);
            CommandHelp.DisableShoutMsg = ReadWriteString("String", "DisableShoutMsg", CommandHelp.DisableShoutMsg);
            CommandHelp.EnableDealMsg = ReadWriteString("String", "EnableDealMsg", CommandHelp.EnableDealMsg);
            CommandHelp.DisableDealMsg = ReadWriteString("String", "DisableDealMsg", CommandHelp.DisableDealMsg);
            CommandHelp.EnableGuildChat = ReadWriteString("String", "EnableGuildChat", CommandHelp.EnableGuildChat);
            CommandHelp.DisableGuildChat = ReadWriteString("String", "DisableGuildChat", CommandHelp.DisableGuildChat);
            CommandHelp.EnableJoinGuild = ReadWriteString("String", "EnableJoinGuild", CommandHelp.EnableJoinGuild);
            CommandHelp.DisableJoinGuild = ReadWriteString("String", "DisableJoinGuild", CommandHelp.DisableJoinGuild);
            CommandHelp.EnableAuthAllyGuild = ReadWriteString("String", "EnableAuthAllyGuild", CommandHelp.EnableAuthAllyGuild);
            CommandHelp.DisableAuthAllyGuild = ReadWriteString("String", "DisableAuthAllyGuild", CommandHelp.DisableAuthAllyGuild);
            CommandHelp.EnableGroupRecall = ReadWriteString("String", "EnableGroupRecall", CommandHelp.EnableGroupRecall);
            CommandHelp.DisableGroupRecall = ReadWriteString("String", "DisableGroupRecall", CommandHelp.DisableGroupRecall);
            CommandHelp.EnableGuildRecall = ReadWriteString("String", "EnableGuildRecall", CommandHelp.EnableGuildRecall);
            CommandHelp.DisableGuildRecall = ReadWriteString("String", "DisableGuildRecall", CommandHelp.DisableGuildRecall);
            CommandHelp.PleaseInputPassword = ReadWriteString("String", "PleaseInputPassword", CommandHelp.PleaseInputPassword);
            CommandHelp.TheMapDisableMove = ReadWriteString("String", "TheMapDisableMove", CommandHelp.TheMapDisableMove);
            CommandHelp.TheMapNotFound = ReadWriteString("String", "TheMapNotFound", CommandHelp.TheMapNotFound);*/
        }
    }
}